/****************************************************************************
**
** Multi.cpp
**
** Copyright (C) August 2014 Hotride
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
*****************************************************************************
*/
//----------------------------------------------------------------------------
#include "stdafx.h"
//----------------------------------------------------------------------------
//-----------------------------------TMulti-----------------------------------
//----------------------------------------------------------------------------
TMulti::TMulti()
: m_X(0), m_Y(0), m_Next(NULL), m_Items(NULL), m_MinX(0), m_MinY(0), m_MaxX(0),
m_MaxY(0)
{
}
//----------------------------------------------------------------------------
TMulti::~TMulti()
{
	if (m_Items != NULL) delete m_Items;

	if (m_Next != NULL) delete m_Next;
}
//----------------------------------------------------------------------------
//--------------------------------TMultiObject--------------------------------
//----------------------------------------------------------------------------
TMultiObject::TMultiObject()
: m_ID(0), m_X(0), m_Y(0), m_Z(0), m_Flags(0), m_Next(NULL), m_Prev(NULL)
{
}
//----------------------------------------------------------------------------
TMultiObject::~TMultiObject()
{
	if (m_Next != NULL) delete m_Next;
}
//----------------------------------------------------------------------------